package org.example.springioc.model;


import lombok.Data;

@Data
public class User {
    private String name;
    private int age;
    public User() {

    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User [name=" + name + ", age=" + age + "]";
    }
}
